//
//  TTDianpuOrderViewCell.h
//  TaoTuo
//
//  Created by admin on 2019/11/11.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TTOrderModel;
@class TTDianpuOrderViewCell;

@protocol TTDianpuOrderViewCellDelegate <NSObject>

/// 点击了 取消订单
- (void)cancleButtonClickWithOrderViewCell:(TTDianpuOrderViewCell *_Nullable)cell model:(TTOrderModel *_Nullable)model;

/// 点击了 删除订单
- (void)deleteButtonClickWithOrderViewCell:(TTDianpuOrderViewCell *_Nullable)cell model:(TTOrderModel *_Nullable)model;

/// 点击了 查看详情
- (void)lookDetailButtonClickWithOrderViewCell:(TTDianpuOrderViewCell *_Nullable)cell model:(TTOrderModel *_Nullable)model;

/// 点击了 下单
- (void)placeOrderuleButtonClickWithOrderViewCell:(TTDianpuOrderViewCell *_Nullable)cell model:(TTOrderModel *_Nullable)model;

@end


NS_ASSUME_NONNULL_BEGIN

@interface TTDianpuOrderViewCell : UITableViewCell

@property (nonatomic, strong) TTOrderModel *model;

@property (nonatomic, assign) id<TTDianpuOrderViewCellDelegate> delegate;


@end

NS_ASSUME_NONNULL_END
